from rest_framework import serializers
from .models import Task
from .models import FundTransactionRecord
from .models import FundRecord
from .models import StockTransactionRecordBak

class TaskSerializer(serializers.ModelSerializer):
	class Meta:
		model = Task
		fields ='__all__'

class FundTransactionRecordSerializer(serializers.ModelSerializer):
	class Meta:
		model = FundTransactionRecord
		fields ='__all__'

class FundRecordSerializer(serializers.ModelSerializer):
	class Meta:
		model = FundRecord
		fields ='__all__'

class StockTransactionRecordSerializer(serializers.ModelSerializer):
	class Meta:
		model = StockTransactionRecordBak
		fields ='__all__'
